home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-02-23 | 2.0 KB | 61 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 7410692 18-Feb-90 19:50PST
-
- From: MOOF Rollin, Keith A
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: RE>Jump Table size
-
- Attn: AUDev - CRIA, Canberra, ACT,ID
- SentBy: Keith Rollin
- Date 2/18/90
- Subject RE>Jump Table size
- From Keith Rollin
- To AUDev - CRIA, Canberra, ACT,ID
-
- Reply to: RE>Jump Table size
- Kenneth,
-
- Here are some comments on your questions:
-
- 1) Is there any easy way to increase the jump table size (we are using
- MacApp and a lot of methods, and this is a problem)?
-
- >>> No, there is no easy way. This is something we are working on for future
- versions of MPW, but without compiler and linker support, it is nearly
- impossible.
-
- 2) Is there any easy way of finding the size of the jump table (this
- would be nice so that we could see the effect of changing segmentation)?
-
- >>> Generating a linkmap will tell you all of this
-
- 3) Is changing segmentation going to effect the size of the jump table?
-
- >>> Possibly. Jump table entries are generated for intersegment calls (calls
- from a procedure in one segment to a procedure in another) and polymorphic
- methods (methods that overridden in a subclass). Anything you can do to reduce
- these will reduce the number of jump table entries.
-
- >>> what happened to question #4???
-
- Enhancement
- 5) Is there any possibility of having a compiler directive to say a
- particular method is to be compiled as Inline code (ie direct expansion of the
- code where use, rather than generatin function call code)? This would solve
- our problems with jump table size, and some nagging doubts about the speed of
- our code. (C++ has this option, and it would be a major advantage if Pascal
- also offered it).
-
- >>> You can sort of do this. You can declare INLINE fuctions, but you have to
- implement then by typing the hex codes of the instructions you want to
- execute.
-
-
- - Keith Rollin
- - Apple Developer Technical Support
-
-
-